#include "Mouse.h"

Mouse::Mouse() :
m_x(0),
m_y(0),
m_deltaX(0),
m_deltaY(0)
{
}

Mouse::~Mouse()
{
}

void Mouse::setPosition(const int x, const int y)
{
	m_deltaX = x - m_x;
	m_deltaY = y - m_y;
	m_x = x;
	m_y = y;
}

int Mouse::getDeltaX()
{
	return m_deltaX;
}

int Mouse::getDeltaY()
{
	return m_deltaY;
}